$OpenBSD: patch-src_names_c,v 1.4 2013/01/23 10:17:48 benoit Exp $
--- src/names.c.orig	Thu Mar 17 20:59:14 2011
+++ src/names.c	Fri Jan 18 11:27:33 2013
@@ -21,7 +21,9 @@
 #include <config.h>
 #endif
 
+#include <unistd.h>
 #include <netinet/in.h>
+#include <sys/socket.h>
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
